package com.example.service;


import com.example.entity.Talk;
import com.example.entity.User;
import com.example.entity.vo.TalkVo;

import java.util.List;
import java.util.concurrent.CopyOnWriteArrayList;

public interface TalkService {
    int insert(Talk record);

    CopyOnWriteArrayList<TalkVo> selectBytouser(Integer toUser);

    int delByPrimKey(Integer talkid);

    int updateByPrimaryKeySelective(Talk record);

    void unreadToRead(Integer talkid);

    List<User> selectByMyself(Integer touser);
}
